package com.nexus.service.sys.service;

import com.nexus.core.exception.ServiceException;
import com.nexus.core.service.TreeService;
import com.nexus.core.sys.dto.SysAreaDTO;
import com.nexus.core.sys.entity.SysArea;
import com.nexus.service.sys.mapper.SysAreaMapper;
import com.nexus.service.sys.service.mapstruct.SysAreaWrapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 区域Service
 *
 * @author 路正宁
 * @version 2023-03-15
 */
//@DS("zxhy_platform_db")
//@Service
@Transactional(rollbackFor = {ServiceException.class,Exception.class, RuntimeException.class})
public class SysAreaService extends TreeService<SysAreaMapper, SysArea, SysAreaDTO, SysAreaWrapper> {

    public boolean saveOrUpdate(SysArea sysArea) {
        return super.saveOrUpdate(sysArea);
    }


}
